<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
</head>

<body>
    <div id="contain"></div>
    <script>
        function Demo() {
            this.a = 1;
            this.b = 2;
        }

        const boy = new Demo();

        console.log(Demo.prototype);//显示原型属性

        console.log(boy.__proto__);//隐式原型属性

        //通过原型对象追加属性操作对象对象x
        Demo.prototype.x = 99;
        console.log(Demo.prototype);

        new Vue({
            el: '#contain',
            data: {

            }
        });
    </script>

</body>

</html>